how to use arduino inputs